package com.sjl.db137.service;

import com.sjl.db137.entity.Menu;
import com.sjl.db137.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @Author: zero domain
 * @CreateTime: 2024/12/24 11:49
 * @Description: TODO
 * @Version: 1.0
 */
public interface UserService extends IService<User>{

        public User userlogin(String uname, String upwd);

        List<Menu> selectUserMenuByUserId(int userid);

        public int insertUser(User user);

    int register(User user);
}
